home *** CD-ROM | disk | FTP | other *** search
- //
- // This macro creates a new breadboard and sets it up similar to the
- // ones created for the demo (3 text boxes, forward/cancel button ...)
- //
- application.displayInspector(FALSE)
- //activeBreadboard. lockWindowUpdate()
- activeBreadboard. setPromptToSaveModifications( FALSE )
- //
- // Put on the text boxes
- //
- activeBreadboard. showOpenProbes ( FALSE )
- activeBreadboard. sizeWindow ( 836 , 387 )
- activeBreadboard. maximize ( )
- activeBreadboard. showOpenProbes ( TRUE )
- activeBreadboard. setAnimatePoint ( 4 , 2 )
- activeBreadboard. stampAndMove ( "TextBoxEngine" , "titleTextBox" )
- activeBreadboard. setAnimatePoint ( 4 , 32 )
- activeBreadboard. stampAndMove ( "TextBoxEngine" , "subtitleTextBox" )
- activeBreadboard. setAnimatePoint ( 4 , 62 )
- activeBreadboard. stampAndMove ( "TextBoxEngine" , "mainTextBox" )
- titleTextBox. setText()
- subtitleTextBox. setText()
- mainTextBox. setText()
- titleTextBox. setBorderType ( 0 )
- titleTextBox. setTransparent ( TRUE )
- titleTextBox. setHeight ( 20 )
- titleTextBox. setWidth ( 530 )
- titleTextBox. setPosition ( 1 )
- titleTextBox. setPadding ( 1 )
- titleTextBox. setBold ( TRUE )
- titleTextBox. setColor ( 0 , 0 , 160 )
- titleTextBox. setFontSize ( 24 )
- titleTextBox. setMacroAction ( 1 )
- subtitleTextBox. setBorderType ( 0 )
- subtitleTextBox. setTransparent ( TRUE )
- subtitleTextBox. setColor ( 0 , 0 , 160 )
- subtitleTextBox. setHeight ( 20 )
- subtitleTextBox. setWidth ( 590 )
- subtitleTextBox. setPadding ( 1 )
- subtitleTextBox. setFontSize ( 18 )
- subtitleTextBox. setItalic ( TRUE )
- subtitleTextBox. setMacroAction ( 1 )
- mainTextBox. setTransparent ( TRUE )
- mainTextBox. setBorderType ( 0 )
- mainTextBox. setHeight ( 125 )
- mainTextBox. setWidth ( 590 )
- mainTextBox. setFontSize ( 18 )
- mainTextBox. setPadding ( 1 )
- mainTextBox. setMacroAction ( 1 )
- //
- // Put on the buttons
- //
- activeBreadboard. setAnimatePoint ( 540 , 4 )
- activeBreadboard. stampAndMove ( "ButtonEngine" , "cancelButton" )
- activeBreadboard. setAnimatePoint ( 580 , 4 )
- activeBreadboard. stampAndMove ( "ButtonEngine" , "nextButton" )
- cancelButton. setAutosize(FALSE)
- cancelButton. setHeight ( 20 )
- cancelButton. setWidth ( 25 )
- cancelButton. setPosition ( 1 )
- cancelButton. setFontSize ( 24 )
- cancelButton. setHeight ( 20 )
- cancelButton. setColor ( 255 , 0 , 0 )
- cancelButton. setPadding ( 1 )
- nextButton. setAutosize(FALSE)
- nextButton. setHeight ( 20 )
- nextButton. setWidth ( 25 )
- nextButton. setPosition ( 1 )
- nextButton. setFontSize ( 24 )
- nextButton. setHeight ( 20 )
- nextButton. setColor ( 255 , 0 , 0 )
- nextButton. setPadding ( 1 )
- nextButton. setAutosize(FALSE)
- cancelButton. setText(X)
- nextButton. setText(╗)
-
-